package edu.chalmers.mde.schedulesystem;

import java.util.Date;

public class Route {
	private City departureCity, arrivalCity;
	private Date travelTime;
	public Route(City departureCity,City arrivalCity,Date travelTime){
		this.setArrivalCity(arrivalCity);
		this.setDepartureCity(departureCity);
		this.setTravelTime(travelTime);
	}
	public Date getTravelTime() {
		return travelTime;
	}
	public void setTravelTime(Date travelTime) {
		this.travelTime = travelTime;
	}
	public City getDepartureCity() {
		return departureCity;
	}
	public void setDepartureCity(City departureCity) {
		this.departureCity = departureCity;
	}
	public City getArrivalCity() {
		return arrivalCity;
	}
	public void setArrivalCity(City arrivalCity) {
		this.arrivalCity = arrivalCity;
	}
	
}